package com.wyclabs.user;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.scheduling.annotation.EnableAsync;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

/**
 * Nacos
 * @author rs
 * @date 2019/8/2 17:20
 */
@SpringBootApplication(scanBasePackages = "com.wyclabs")
@EnableDiscoveryClient
@EnableFeignClients(basePackages = "com.wyclabs.api")
@EnableAsync
@EnableSwagger2
public class UserApp {

    public static void main(String[] args) {
        SpringApplication.run(UserApp.class, args);
    }

}
